home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mobiclic 125
/
MOBICLIC 125.ISO
/
pc
/
DATA
/
DSS125
/
DSS125_03
/
DSS125_03.swf
/
scripts
/
frame_68
/
DoAction.as
Wrap
Text File
|
2010-06-14
|
2KB
|
66 lines
function initBT_REJOUER()
{
BT_REJOUER._alpha = 100;
BUG._visible = false;
SPAM._visible = false;
SPAM_02._visible = false;
SPAM_03._visible = false;
SPAM_04._visible = false;
WIKI._visible = false;
var _loc2_ = this.BT_REJOUER;
_loc2_.onRollOver = function()
{
joueBruitage({nomSon:"B_JOUER"});
gereTextes.afficheIB({mc:this,codeIB:"IB_30"});
this.gotoAndPlay("E2");
gereCursor(2);
};
_loc2_.onRollOut = _loc2_.onDragOut = function()
{
stopBruitage({nomSon:"B_JOUER"});
gereTextes.masqueIB({mc:this,codeIB:"IB_30"});
this.gotoAndPlay("E1");
gereCursor(1);
};
_loc2_.onPress = function()
{
stopBruitage({nomSon:"B_JOUER"});
gereTextes.masqueIB({mc:this,codeIB:"IB_30"});
this.gotoAndPlay("E1");
gereCursor(1);
initJeu();
gotoAndStop("JEU_01");
play();
gJeu = 1;
tirageJeu();
joueSon({nomSon:"02_R2",actionFin:"RIEN"});
desactiveClip(this);
};
}
switch(gScore)
{
case 0:
var nom_du_son = "E1_BG";
SPAM._visible = true;
BUG._visible = true;
break;
case 1:
case 2:
var nom_du_son = "E2_BG";
SPAM_02._visible = true;
BUG._visible = true;
break;
case 3:
case 4:
var nom_du_son = "S1_BG";
SPAM_03._visible = true;
BUG._visible = true;
break;
case 5:
var nom_du_son = "S2_WK";
SPAM_04._visible = true;
WIKI._visible = true;
}
joueSon({nomSon:nom_du_son,actionFin:"initBT_REJOUER"});
stop();